package org.ali.creationalpattern.prototypepattern.color;

/**
 * 颜色
 */
public abstract class Color implements Cloneable {
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void showMessage() {
    }

    @Override
    public Object clone() {
        Object clone = null;
        try {
            clone = super.clone();
        } catch (CloneNotSupportedException e) {
            e.fillInStackTrace();
        }
        return clone;
    }
}